package Classlearning.ObjectOriented.Exception.work;

import java.util.Scanner;

public class Test {
    public static void main(String[] args) {
        Bank bank = new Bank();
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入out的值：");
        int out = sc.nextInt();


        try {
            bank.getMoney(out);
        } catch (BankException e) {
            e.printStackTrace();
        }

    }
}
